Function: treemacs-dom-node->all-parents--inliner

treemacs-dom-node->all-parents--inliner is a function defined in treemacs-dom.el.

Signature

(treemacs-dom-node->all-parents--inliner INLINE--FORM SELF)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-dom.el
;; Closure converted to defun by helpful.
(defun treemacs-dom-node->all-parents--inliner
    (inline--form self)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp self)
	 (self
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "self")))
	 (body
	  (list 'let
		(list
		 (list 'parent
		       (list 'treemacs-dom-node->parent self))
		 (list 'ret))
		(list 'while 'parent
		      (list 'push 'parent 'ret)
		      (list 'setf 'parent
			    (list 'treemacs-dom-node->parent 'parent)))
		'ret)))
      (if
	  (eq self exp)
	  body
	(macroexp-let*
	 (list
	  (list self exp))
	 body)))))